<div class="pageContent">
    <form method="post" id="Content_insert" action="{:U('Question/subsquet')}" onsubmit="return validateCallback(this,dialogAjaxDone);">
        <input type="hidden" name="id" value="{$question['id']}" />
		<div class="pageFormContent" layoutH="52">
            <div id="product_base">
                <dl class="nowrap">
                    <dt>
                        <label>
                            问题：
                        </label>
                    </dt>
                    <dd style="background:#eee;margin:10px 0;border-bottom:1px solid #ccc;">
                        <p>&nbsp;&nbsp;&nbsp;&nbsp;<php>echo strip_tags($question['content'], '<p><br>');</php><!-- {$question['content']} --></p>
						<p style="text-align:right;width:98%">{$question['ctime']|date="Y-m-d H:m:s",###}</p>
                    </dd>
                </dl>
	                <dl class="nowrap image" >
	                    <dt>
	                        <label>
	                           问题解答：
	                        </label>
	                    </dt>
						{if empty($info)}
						<dd style="color:red;">此问题暂未解答！</dd>
						{else}
						<volist name="info" id="i">
		                    <dd id="upimagedd" style="background:#eee;margin:3px 0;border-bottom:1px solid #ccc;">
		                       <p>&nbsp;&nbsp;&nbsp;&nbsp;<php>echo strip_tags($i['content'], '<p><br>');</php><!-- {$i['content']} --></p>
							   <p style="text-align:right;width:98%;height:14px;">{$i['ctime']|date="Y-m-d H:m:s",###}</p>
		                    </dd>
						</volist>
						{/if}
	                </dl>
                <dl class="nowrap">
                    <dt>
                        <label>
                            解答：
                        </label>
                    </dt>
                    <dd>
                        <textarea name='content' cols=80 rows=8></textarea>
                    </dd>
                </dl>
            </div>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit" >
                                保存
                            </button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">
                                取消
                            </button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>
